package com.hp.gxw.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author huangping
 * @since 2024-01-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CostEquipmentPower implements Serializable {

    private static final long serialVersionUID=1L;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 设备
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long equipmentId;
    /**
     * 设备名称
     */
    @TableField(exist = false)
    private String equipmentName;

    /**
     * 成本要素
     */
    private Long elementsId;

    /**
     * 成本要素名称
     */
    @TableField(exist = false)
    private String elements;

    /**
     * 创建人
     */
    private Long createUser;

    /**
     * 创建时间
     */
    private Date createTime;


}
